﻿using Max.PH5_2103A.Shopping.TEntityFrame.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2103A.Shopping.TEntityFrame.DAL
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }

        //public virtual DbSet<表> 表名 { get; set; }

        //2023/9/23
        public virtual DbSet<MemberAddressEntity> MemberAddresses { get; set; }

        //2023/9/26
        public virtual DbSet<OrderDetailEntity>  OrderDetails { get; set; }
        public virtual DbSet<OrderMasterEntity>  OrderMasters { get; set; }
        public virtual DbSet<SKUEntity>  SKUs { get; set; }

    }
}
